package com.yyy.dm.provider.controller;

import com.yyy.dm.provider.service.LinkUserProviderService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class LinkUserProviderController {

    @Resource
    private LinkUserProviderService linkUserProviderService;

    @PostMapping("/findLinkUserNameById")
    public String findLinkUserNameById(@RequestBody Long id){
        return linkUserProviderService.findLinkUserNameById(id);
    }

}
